]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
lookingGlass: Use symbolic icon for close button
authorMarco Trevisan (Treviño) <mail@3v1n0.net>
Thu, 28 Feb 2019 15:20:47 +0000 (16:20 +0100)
committerMarco Trevisan (Treviño) <mail@3v1n0.net>
Thu, 28 Feb 2019 15:21:38 +0000 (16:21 +0100)
As per commit 4d2dce2c, the actual close button is generated using custom css
and a symbolic icon.

Apply the same change to lookingGlass too.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/425

js/ui/lookingGlass.js

index 920a24347b0e26befa2e2f6a3e6b45e600ab46a7..958211df06009cf512c1b9bb6a422f58132cf408 100644 (file)
@@ -382,6 +382,7 @@ var ObjInspector = class ObjInspector {
         }
 
         button = new St.Button({ style_class: 'window-close' });
+        button.add_actor(new St.Icon({ icon_name: 'window-close-symbolic' }));
         button.connect('clicked', this.close.bind(this));
         hbox.add(button);
         if (typeof(obj) == typeof({})) {